package cn.beatuty.makeup.module.system.controller.admin.shoppingcart.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.beatuty.makeup.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.beatuty.makeup.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 购物车分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ShoppingCartPageReqVO extends PageParam {

    @Schema(description = "商品名称", example = "芋艿")
    private String productName;

    @Schema(description = "商品图片")
    private String productImage;

    @Schema(description = "商品规格")
    private String productSpecification;

    @Schema(description = "商品数量")
    private Integer quantity;

    @Schema(description = "商品价格", example = "5942")
    private String price;

    @Schema(description = "支付状态，1待支付、2已支付或3已取消", example = "1")
    private String paymentStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private Long productId;

    private String cartCode;

}